import layout from '@/layout'

export default {
    path: '/employee',
    component: layout,
    children: [{
        path: '',
        name: 'employee',
        component: () => import('@/views/employee'),
        meta: {
            title: '员工',
            icon: 'people'
        }
    },
    {
        path: '/employee/detail/:id?',
        name: 'detail',
        component: () => import('@/views/employee/detail.vue'),
        meta: {
            title: '员工详情',
            icon: 'people'
        },
        hidden: true
    }]
}
